package com.yawn.demomybatisxml;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MapperScan("com.yawn.demomybatisxml.mapper") // 可以替代接口上的@Mapper注解
@SpringBootApplication
public class DemoMybatisXmlApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoMybatisXmlApplication.class, args);
    }
}
